package com.treeroot.treenet.business;

import com.treeroot.treenet.enums.ProtocolTypeMenu;
import com.treeroot.treenet.strategy.ProtocolStrategyContext;


/**
 * Description: 测试
 * Create By TreeRoot
 * Create Time: 2025/06/01 11:40
 * Class Name: Test
 *
 * @author TreeRoot
 */
public class Test {
    private final ProtocolStrategyContext protocolStrategyHandlerContext = ProtocolStrategyContext.getInstance();

    public static void main(String[] args) {
        new Test().hello();
    }

    void hello() {
        protocolStrategyHandlerContext.execute(ProtocolTypeMenu.getByValue(ProtocolTypeMenu.TCP.getValue()));
    }

}
